﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using System.Threading;

namespace Theoreme.Teaching.AOP.Sample01
{
    /// <summary>
    /// Demo de quelques fonctionnalités du logiciel d'AOP (Aspect Oriented Programming) PostSharp.
    /// 
    /// La doc de référence est ici...
    /// http://doc.sharpcrafters.com/postsharp-2.1/##PostSharp-2.1.chm/html/c722d645-0892-489d-858d-bf5c51b90174.htm
    /// </summary>
    class Program
    {
        private static void Main(string[] args)
        {

            // Article : http://www.sharpcrafters.com/solutions/logging
            Test_Tracing.Run();
            
            // Article : http://www.sharpcrafters.com/solutions/performance              
            Test_Performance.Run();

            // Article : http://www.sharpcrafters.com/solutions/exception
            Test_ExceptionHandling.Run();

            // Article : http://www.sharpcrafters.com/solutions/authorization
            Test_Security.Run();
        }

    }
    
}
